package com.share.tool.mock.model.dto;

import com.alibaba.fastjson.JSONObject;
import lombok.Data;
import lombok.experimental.Accessors;

/**
 * 全局参数
 */
@Data
@Accessors(chain = true)
public class McParam {
    //中间变量参数----一定要初始化
    private JSONObject _varParam;

    //请求头参数
    private JSONObject _header;

    //http请求参数
    private JSONObject _serParam;

    //get 或者post请求的参数
    private Object _param;

    public McParam(JSONObject _header, JSONObject _serParam, Object _param, JSONObject _varParam) {
        this._varParam = _varParam;
        this._header = _header;
        this._serParam = _serParam;
        this._param = _param;
    }

    public McParam(JSONObject _varParam) {
        this._varParam = _varParam;
    }

    public McParam() {
    }

}
